from configparser import ConfigParser
def get(section, option,default=""):
    con = ConfigParser()
    con.read('config.ini',encoding='utf-8')
    return con.get(section, option, fallback=default)
def set(section,option,value):
    con = ConfigParser()
    con.read('config.ini', encoding='utf-8')
    con.set(section, option, value)
    with open('config.ini', 'w') as f:
        con.write(f)
def getPassword():
    return get("setting","password")
